package createModel.BuilderModel.directorBuilderPlayers02.convert;

import createModel.BuilderModel.directorBuilderPlayers02.AbstaractBasicConfigBuilder;
import createModel.BuilderModel.directorBuilderPlayers02.pojo.UserDto;

public class UserDtoConvertBasicConfig implements Convert<UserDto>{
    @Override
    public void apply(AbstaractBasicConfigBuilder builder,
                      UserDto source) throws Exception {
        builder.buildDataValue(source.getDataValue());
        builder.buildEmissionFactorName(source.getEmissionFactorName());
        builder.buildFactorGrade(source.getEmissionFactorName());
    }
}
